package com.cheer.ba.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 最新资讯
 *
 * @author HQ
 *         created at 2017/3/30 0030 11:11
 */
public class TodayNewsModel implements Serializable{

    //总的页数
    private String allPages;

    //当前页数
    private String currentPage;

    //数据量
    private String allNum;

    //每页大小
    private String maxResult;

    private List<NewsContentModel> contentlist;

    public String getAllPages() {
        return allPages;
    }

    public void setAllPages(String allPages) {
        this.allPages = allPages;
    }

    public String getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(String currentPage) {
        this.currentPage = currentPage;
    }

    public String getAllNum() {
        return allNum;
    }

    public void setAllNum(String allNum) {
        this.allNum = allNum;
    }

    public String getMaxResult() {
        return maxResult;
    }

    public void setMaxResult(String maxResult) {
        this.maxResult = maxResult;
    }

    public List<NewsContentModel> getContentlist() {
        if (null == contentlist) {
            contentlist = new ArrayList<NewsContentModel>();
        }
        return contentlist;
    }

    public void setContentlist(List<NewsContentModel> contentlist) {
        this.contentlist = contentlist;
    }
}
